<?php

namespace App\Common\Model;

use think\Model;

class User extends Model
{
    protected $name = 'user';

    protected $append = [

    ];

    // 关联身份信息
    public function rank(){
        
        return $this->belongsTo('app\common\model\Rank', 'rankid', 'id');
    }
}